﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication1
{
    class girl:Father
    {
        public override string speak()  //虚方法重载
        {
            return "在女孩中调用speak()方法";
        }
        new public string smile()
        {
            return "女孩觉得生活很美好！";
        }
    }
}
